300 |
Can I add any break or divider line
<BODY onload="Init()"> <OBJECT CLASSID="clsid:1B0CA5A8-2107-4460-BBEE-F25F8801B2F6" id="List1"></OBJECT> <SCRIPT LANGUAGE="JScript"> function Init() { List1.ScrollBySingleLine = false; List1.Columns.Add("Default"); var var_Items = List1.Items; var_Items.Add("Item 1"); var h = var_Items.Add(null); var_Items.ItemBreak(h) = 1; var_Items.SelectableItem(h) = false; var_Items.ItemHeight(h) = 6; var_Items.Add("Item 3"); } </SCRIPT> </BODY> |
299 |
Can I change the default border of the tooltip, using your EBN files
<BODY onload="Init()"> <OBJECT CLASSID="clsid:1B0CA5A8-2107-4460-BBEE-F25F8801B2F6" id="List1"></OBJECT> <SCRIPT LANGUAGE="JScript"> function Init() { List1.ToolTipDelay = 1; List1.ToolTipWidth = 364; List1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn"); List1.Background(64) = 16777216; List1.Columns.Add("tootip").ToolTip = "this is a tooltip assigned to a column"; } </SCRIPT> </BODY> |
298 |
Can I change the background color for the tooltip
<BODY onload="Init()"> <OBJECT CLASSID="clsid:1B0CA5A8-2107-4460-BBEE-F25F8801B2F6" id="List1"></OBJECT> <SCRIPT LANGUAGE="JScript"> function Init() { List1.ToolTipDelay = 1; List1.ToolTipWidth = 364; List1.Background(65) = 255; List1.Columns.Add("tootip").ToolTip = "this is a tooltip assigned to a column"; } </SCRIPT> </BODY> |
297 |
Does the tooltip support HTML format
|
296 |
Can I change the forecolor for the tooltip
<BODY onload="Init()"> <OBJECT CLASSID="clsid:1B0CA5A8-2107-4460-BBEE-F25F8801B2F6" id="List1"></OBJECT> <SCRIPT LANGUAGE="JScript"> function Init() { List1.ToolTipDelay = 1; List1.ToolTipWidth = 364; List1.Background(66) = 255; List1.Columns.Add("tootip").ToolTip = "this is a tooltip assigned to a column"; } </SCRIPT> </BODY> |
295 |
Can I change the foreground color for the tooltip
|
294 |
Is there any function to limit the height of the items when I display it using multiple lines
|
293 |
Why I cannot center my cells in the column
<BODY onload="Init()"> <OBJECT CLASSID="clsid:1B0CA5A8-2107-4460-BBEE-F25F8801B2F6" id="List1"></OBJECT> <SCRIPT LANGUAGE="JScript"> function Init() { List1.DrawGridLines = -1; List1.Columns.Add("Default").Alignment = 1; List1.Items.Add("item 1"); List1.Items.Add("item 2"); List1.Items.Add("item 3"); } </SCRIPT> </BODY> |
292 |
How can I align the cell to the left, center or to the right
<BODY onload="Init()"> <OBJECT CLASSID="clsid:1B0CA5A8-2107-4460-BBEE-F25F8801B2F6" id="List1"></OBJECT> <SCRIPT LANGUAGE="JScript"> function Init() { List1.DrawGridLines = -1; List1.Columns.Add("Default"); var var_Items = List1.Items; var_Items.CellHAlignment(var_Items.Add("left"),0) = 0; var_Items.CellHAlignment(var_Items.Add("center"),0) = 1; var_Items.CellHAlignment(var_Items.Add("right"),0) = 2; } </SCRIPT> </BODY> |
291 |
How do I apply HTML format to a cell
<BODY onload="Init()"> <OBJECT CLASSID="clsid:1B0CA5A8-2107-4460-BBEE-F25F8801B2F6" id="List1"></OBJECT> <SCRIPT LANGUAGE="JScript"> function Init() { List1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" + "lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" + "0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); List1.HTMLPicture("p1") = "c:\\exontrol\\images\\zipdisk.gif"; List1.HTMLPicture("p2") = "c:\\exontrol\\images\\auction.gif"; List1.Columns.Add("Default"); var var_Items = List1.Items; var h = var_Items.Add("The following item shows some of the HTML format supported:"); var_Items.CellHAlignment(h,0) = 1; h = var_Items.Add("<br>text icons <img>1</img>, <img>2</img>, ... pictures <img>p1</img>, <img>p2</img> <br><br>text <b>bold</b>, <i>italic</i>, <" + "u>underline</u>, <s>strikeout</s>, ...<br><dotline>and so on...<br> <a>anchor</a> or <a2>hyperlink</a><br><fgcolor=FF0000>fgcolo" + "r</fgcolor> or <bgcolor=00FF00>bgcolor</bgcolor> "); var_Items.CaptionFormat(h,0) = 1; var_Items.CellSingleLine(h,0) = false; } </SCRIPT> </BODY> |
290 |
How can I change the font for a cell
|
289 |
How can I change the font for a cell
|
288 |
How can I change the font for entire item
|
287 |
How do I vertically align a cell
<BODY onload="Init()"> <OBJECT CLASSID="clsid:1B0CA5A8-2107-4460-BBEE-F25F8801B2F6" id="List1"></OBJECT> <SCRIPT LANGUAGE="JScript"> function Init() { List1.DrawGridLines = -1; List1.Columns.Add("MultipleLine").Def(16) = false; List1.Columns.Add("VAlign"); var var_Items = List1.Items; var h = var_Items.Add("This is a bit of long text that should break the line"); var_Items.Caption(h,1) = "top"; var_Items.CellVAlignment(h,1) = 0; h = var_Items.Add("This is a bit of long text that should break the line"); var_Items.Caption(h,1) = "middle"; var_Items.CellVAlignment(h,1) = 1; h = var_Items.Add("This is a bit of long text that should break the line"); var_Items.Caption(h,1) = "bottom"; var_Items.CellVAlignment(h,1) = 2; } </SCRIPT> </BODY> |
286 |
How can I change the position of an item
|
285 |
How do I find an item
|
284 |
How can I insert a hyperlink or an anchor element
<BODY onload="Init()"> <OBJECT CLASSID="clsid:1B0CA5A8-2107-4460-BBEE-F25F8801B2F6" id="List1"></OBJECT> <SCRIPT LANGUAGE="JScript"> function Init() { List1.Columns.Add("Column"); var var_Items = List1.Items; var_Items.CaptionFormat(var_Items.Add("Just an <a1>anchor</a> element ..."),0) = 1; var var_Items1 = List1.Items; var_Items1.CaptionFormat(var_Items1.Add("Just another <a2>anchor</a> element ..."),0) = 1; } </SCRIPT> </BODY> |
283 |
How do I find the handle of the item based on its index
<BODY onload="Init()"> <OBJECT CLASSID="clsid:1B0CA5A8-2107-4460-BBEE-F25F8801B2F6" id="List1"></OBJECT> <SCRIPT LANGUAGE="JScript"> function Init() { List1.Columns.Add("Default"); var var_Items = List1.Items; var h = var_Items.Add("Item 1"); var_Items.Add("Item 2"); var_Items.Add("Item 3"); var_Items.ItemBold(1) = true; } </SCRIPT> </BODY> |
282 |
How can I find the cell being clicked in a radio group
|
281 |
Can I let the user to resize at runtime the specified item
<BODY onload="Init()"> <OBJECT CLASSID="clsid:1B0CA5A8-2107-4460-BBEE-F25F8801B2F6" id="List1"></OBJECT> <SCRIPT LANGUAGE="JScript"> function Init() { List1.ScrollBySingleLine = true; List1.DrawGridLines = -1; List1.Columns.Add("Default"); var var_Items = List1.Items; var_Items.ItemAllowSizing(var_Items.Add("resizable item")) = true; var_Items.Add("not resizable item"); } </SCRIPT> </BODY> |
280 |
How can I change the size ( width, height ) of the picture
<BODY onload="Init()"> <OBJECT CLASSID="clsid:1B0CA5A8-2107-4460-BBEE-F25F8801B2F6" id="List1"></OBJECT> <SCRIPT LANGUAGE="JScript"> function Init() { List1.Columns.Add("Default"); var var_Items = List1.Items; var h = var_Items.Add("Item 1"); var_Items.CellPicture(h,0) = List1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"); var_Items.CellPictureWidth(h,0) = 24; var_Items.CellPictureHeight(h,0) = 24; var_Items.ItemHeight(h) = 32; h = var_Items.Add("Item 2"); var_Items.CellPicture(h,0) = List1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"); var_Items.ItemHeight(h) = 48; } </SCRIPT> </BODY> |
279 |
How can I find the number or the count of selected items
|
278 |
How do I unselect an item
|
277 |
How do I find the selected item
|
276 |
How do I un select all items
<BODY onload="Init()"> <OBJECT CLASSID="clsid:1B0CA5A8-2107-4460-BBEE-F25F8801B2F6" id="List1"></OBJECT> <SCRIPT LANGUAGE="JScript"> function Init() { List1.SingleSel = false; List1.Columns.Add("Default"); var var_Items = List1.Items; var_Items.Add("Item 1"); var_Items.Add("Item 2"); var_Items.Add("Item 3"); var_Items.UnselectAll(); } </SCRIPT> </BODY> |
275 |
How do I select multiple items
<BODY onload="Init()"> <OBJECT CLASSID="clsid:1B0CA5A8-2107-4460-BBEE-F25F8801B2F6" id="List1"></OBJECT> <SCRIPT LANGUAGE="JScript"> function Init() { List1.SingleSel = false; List1.Columns.Add("Default"); var var_Items = List1.Items; var_Items.Add("Item 1"); var_Items.Add("Item 2"); var_Items.Add("Item 3"); var_Items.SelectItem(var_Items.FirstVisibleItem) = true; var_Items.SelectItem(var_Items.NextVisibleItem(var_Items.FirstVisibleItem)) = true; } </SCRIPT> </BODY> |
274 |
How do I select all items
<BODY onload="Init()"> <OBJECT CLASSID="clsid:1B0CA5A8-2107-4460-BBEE-F25F8801B2F6" id="List1"></OBJECT> <SCRIPT LANGUAGE="JScript"> function Init() { List1.SingleSel = false; List1.Columns.Add("Default"); var var_Items = List1.Items; var_Items.Add("Item 1"); var_Items.Add("Item 2"); var_Items.Add("Item 3"); var_Items.SelectAll(); } </SCRIPT> </BODY> |
273 |
How do I select an item
|
272 |
Can I display a button with some picture or icon inside
<BODY onload="Init()"> <OBJECT CLASSID="clsid:1B0CA5A8-2107-4460-BBEE-F25F8801B2F6" id="List1"></OBJECT> <SCRIPT LANGUAGE="JScript"> function Init() { List1.HTMLPicture("p1") = "c:\\exontrol\\images\\zipdisk.gif"; List1.Columns.Add("C1"); List1.Columns.Add("C2"); var var_Items = List1.Items; var h = var_Items.Add("Cell 1"); var_Items.Caption(h,1) = " Button <img>p1</img> "; var_Items.CaptionFormat(h,1) = 1; var_Items.CellHAlignment(h,1) = 2; var_Items.CellHasButton(h,1) = true; var_Items.ItemHeight(h) = 48; } </SCRIPT> </BODY> |
271 |
Can I display a button with some picture or icon inside
<BODY onload="Init()"> <OBJECT CLASSID="clsid:1B0CA5A8-2107-4460-BBEE-F25F8801B2F6" id="List1"></OBJECT> <SCRIPT LANGUAGE="JScript"> function Init() { List1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" + "lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" + "0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); List1.Columns.Add("C1"); List1.Columns.Add("C2"); var var_Items = List1.Items; var h = var_Items.Add("Cell 1"); var_Items.Caption(h,1) = " Button <img>1</img> "; var_Items.CaptionFormat(h,1) = 1; var_Items.CellHAlignment(h,1) = 2; var_Items.CellHasButton(h,1) = true; } </SCRIPT> </BODY> |
270 |
Can I display a button with some icon inside
<BODY onload="Init()"> <OBJECT CLASSID="clsid:1B0CA5A8-2107-4460-BBEE-F25F8801B2F6" id="List1"></OBJECT> <SCRIPT LANGUAGE="JScript"> function Init() { List1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" + "lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" + "0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); List1.Columns.Add("C1"); List1.Columns.Add("C2"); var var_Items = List1.Items; var h = var_Items.Add("Cell 1"); var_Items.Caption(h,1) = " <img>1</img> "; var_Items.CaptionFormat(h,1) = 1; var_Items.CellHAlignment(h,1) = 2; var_Items.CellHasButton(h,1) = true; } </SCRIPT> </BODY> |
269 |
How can I assign multiple icon/picture to a cell
<BODY onload="Init()"> <OBJECT CLASSID="clsid:1B0CA5A8-2107-4460-BBEE-F25F8801B2F6" id="List1"></OBJECT> <SCRIPT LANGUAGE="JScript"> function Init() { List1.HTMLPicture("p1") = "c:\\exontrol\\images\\zipdisk.gif"; List1.HTMLPicture("p2") = "c:\\exontrol\\images\\auction.gif"; List1.Columns.Add("Default"); var var_Items = List1.Items; var h = var_Items.Add("text <img>p1</img> another picture <img>p2</img> and so on"); var_Items.CaptionFormat(h,0) = 1; var_Items.CellPicture(h,0) = List1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\colorize.gif`)"); var_Items.ItemHeight(h) = 48; var_Items.Add("Item 2"); } </SCRIPT> </BODY> |
268 |
How can I assign an icon/picture to a cell
|
267 |
How can I assign multiple icons/pictures to a cell
<BODY onload="Init()"> <OBJECT CLASSID="clsid:1B0CA5A8-2107-4460-BBEE-F25F8801B2F6" id="List1"></OBJECT> <SCRIPT LANGUAGE="JScript"> function Init() { List1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" + "lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" + "0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); List1.Columns.Add("Default"); var var_Items = List1.Items; var h = var_Items.Add("Item <img>1</img> 1, <img>2</img>, ... and so on "); var_Items.CaptionFormat(h,0) = 1; } </SCRIPT> </BODY> |
266 |
How can I assign multiple icons/pictures to a cell
<BODY onload="Init()"> <OBJECT CLASSID="clsid:1B0CA5A8-2107-4460-BBEE-F25F8801B2F6" id="List1"></OBJECT> <SCRIPT LANGUAGE="JScript"> function Init() { List1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" + "lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" + "0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); List1.Columns.Add("Default"); var var_Items = List1.Items; var h = var_Items.Add("Item 1"); var_Items.CellImages(h,0) = "1,2,3"; } </SCRIPT> </BODY> |
265 |
How can I assign an icon/picture to a cell
<BODY onload="Init()"> <OBJECT CLASSID="clsid:1B0CA5A8-2107-4460-BBEE-F25F8801B2F6" id="List1"></OBJECT> <SCRIPT LANGUAGE="JScript"> function Init() { List1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" + "lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" + "0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); List1.Columns.Add("Default"); var var_Items = List1.Items; var h = var_Items.Add("Item 1"); var_Items.CellImage(h,0) = 1; var_Items.CellImage(var_Items.Add("Item 2"),0) = 2; var_Items.CellImage(var_Items.Add("Item 3"),0) = 3; } </SCRIPT> </BODY> |
264 |
How can I display a button inside the item or cell
<BODY onload="Init()"> <OBJECT CLASSID="clsid:1B0CA5A8-2107-4460-BBEE-F25F8801B2F6" id="List1"></OBJECT> <SCRIPT LANGUAGE="JScript"> function Init() { List1.Columns.Add("C1"); List1.Columns.Add("C2"); var var_Items = List1.Items; var h = var_Items.Add("Cell 1"); var_Items.Caption(h,1) = " Button 1 "; var_Items.CellHAlignment(h,1) = 2; var_Items.CellHasButton(h,1) = true; h = var_Items.Add("Cell 2"); var_Items.Caption(h,1) = " Button 2 "; var_Items.CellHAlignment(h,1) = 1; var_Items.CellHasButton(h,1) = true; } </SCRIPT> </BODY> |
263 |
How can I change the state of a radio button
|
262 |
How can I assign a radio button to a cell
<BODY onload="Init()"> <OBJECT CLASSID="clsid:1B0CA5A8-2107-4460-BBEE-F25F8801B2F6" id="List1"></OBJECT> <SCRIPT LANGUAGE="JScript"> function Init() { List1.MarkSearchColumn = false; List1.SelBackColor = 8454143; List1.SelForeColor = 0; List1.Columns.Add("C1"); List1.Columns.Add("C2"); List1.Columns.Add("C3"); var var_Items = List1.Items; var h = var_Items.Add("Cell 1"); var_Items.Caption(h,1) = "Radio 1"; var_Items.CellHasRadioButton(h,1) = true; var_Items.CellRadioGroup(h,1) = 1234; var_Items.Caption(h,2) = "Radio 2"; var_Items.CellHasRadioButton(h,2) = true; var_Items.CellRadioGroup(h,2) = 1234; var_Items.CellState(h,1) = 1; } </SCRIPT> </BODY> |
261 |
How can I change the state of a checkbox
|
260 |
How can I assign a checkbox to a cell
|
259 |
How can I display an item or a cell on multiple lines
<BODY onload="Init()"> <OBJECT CLASSID="clsid:1B0CA5A8-2107-4460-BBEE-F25F8801B2F6" id="List1"></OBJECT> <SCRIPT LANGUAGE="JScript"> function Init() { List1.ScrollBySingleLine = true; List1.Columns.Add("C1"); List1.Columns.Add("C2"); var var_Items = List1.Items; var h = var_Items.Add("Cell 1"); var_Items.Caption(h,1) = "This is bit of text that's shown on multiple lines"; var_Items.CellSingleLine(h,1) = false; } </SCRIPT> </BODY> |
258 |
How can I assign a tooltip to a cell
|
257 |
How can I associate an extra data to a cell
|
256 |
How do I enable or disable a cell
|
255 |
How do I change the cell's foreground color
|
254 |
How do I change the visual effect for the cell, using your EBN files
|
253 |
How do I change the cell's background color
|
252 |
How do I change the caption or value for a particular cell
|
251 |
How do I retrieve the focused item
|
250 |
How do I enumerate the visible items
<BODY onload="Init()"> <OBJECT CLASSID="clsid:1B0CA5A8-2107-4460-BBEE-F25F8801B2F6" id="List1"></OBJECT> <SCRIPT LANGUAGE="JScript"> function Init() { List1.Columns.Add("Default"); var var_Items = List1.Items; var h = var_Items.Add("Item 1"); h = var_Items.Add("Item 2"); var_Items.ItemBold(var_Items.FirstVisibleItem) = true; var_Items.ItemBold(var_Items.NextVisibleItem(var_Items.FirstVisibleItem)) = true; } </SCRIPT> </BODY> |
249 |
How can I make an item unselectable, or not selectable
|
248 |
How can I hide or show an item
<BODY onload="Init()"> <OBJECT CLASSID="clsid:1B0CA5A8-2107-4460-BBEE-F25F8801B2F6" id="List1"></OBJECT> <SCRIPT LANGUAGE="JScript"> function Init() { List1.Columns.Add("Column"); var var_Items = List1.Items; var h = var_Items.Add("hidden"); var_Items.ItemHeight(h) = 0; var_Items.SelectableItem(h) = false; var_Items.Add("visible"); } </SCRIPT> </BODY> |
247 |
How can I change the height for all items
|
246 |
How do I change the height of an item
<BODY onload="Init()"> <OBJECT CLASSID="clsid:1B0CA5A8-2107-4460-BBEE-F25F8801B2F6" id="List1"></OBJECT> <SCRIPT LANGUAGE="JScript"> function Init() { List1.ScrollBySingleLine = true; List1.Columns.Add("Default"); var var_Items = List1.Items; var_Items.ItemHeight(var_Items.Add("height")) = 128; List1.Items.Add("enabled"); } </SCRIPT> </BODY> |
245 |
How do I disable or enable an item
|
244 |
How do I display as strikeout a cell
<BODY onload="Init()"> <OBJECT CLASSID="clsid:1B0CA5A8-2107-4460-BBEE-F25F8801B2F6" id="List1"></OBJECT> <SCRIPT LANGUAGE="JScript"> function Init() { List1.Columns.Add("Default"); var var_Items = List1.Items; var_Items.CellStrikeOut(var_Items.Add("strikeout"),0) = true; } </SCRIPT> </BODY> |
243 |
How do I display as strikeout a cell or an item
|
242 |
How do I display as strikeout an item
<BODY onload="Init()"> <OBJECT CLASSID="clsid:1B0CA5A8-2107-4460-BBEE-F25F8801B2F6" id="List1"></OBJECT> <SCRIPT LANGUAGE="JScript"> function Init() { List1.Columns.Add("Default"); var var_Items = List1.Items; var_Items.ItemStrikeOut(var_Items.Add("strikeout")) = true; } </SCRIPT> </BODY> |
241 |
How do I underline a cell
|
240 |
How do I underline a cell or an item
|
239 |
How do I underline an item
|
238 |
How do I display as italic a cell
|
237 |
How do I display as italic a cell or an item
|
236 |
How do I display as italic an item
|
235 |
How do I bold a cell
|
234 |
How do I bold a cell or an item
|
233 |
How do I bold an item
|
232 |
How do I change the foreground color for the item
|
231 |
How do I change the visual appearance for the item, using your EBN technology
<BODY onload="Init()"> <OBJECT CLASSID="clsid:1B0CA5A8-2107-4460-BBEE-F25F8801B2F6" id="List1"></OBJECT> <SCRIPT LANGUAGE="JScript"> function Init() { List1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn"); List1.Columns.Add("Default"); var var_Items = List1.Items; var_Items.ItemBackColor(var_Items.Add("Item")) = 16777216; } </SCRIPT> </BODY> |
230 |
How do I change the background color for the item
|
229 |
How do I associate an extra data to an item
|
228 |
How do I programmatically edit a cell
<BODY onload="Init()"> <SCRIPT FOR="List1" EVENT="AfterCellEdit(ItemIndex,ColIndex,NewCaption)" LANGUAGE="JScript"> var var_Items = List1.Items; var_Items.Caption(ItemIndex,ColIndex) = NewCaption; </SCRIPT> <SCRIPT FOR="List1" EVENT="CancelCellEdit(ItemIndex,ColIndex,Reserved)" LANGUAGE="JScript"> var var_Items = List1.Items; var_Items.Caption(ItemIndex,ColIndex) = Reserved; </SCRIPT> <SCRIPT FOR="List1" EVENT="Click()" LANGUAGE="JScript"> var var_Items = List1.Items; var_Items.Edit(var_Items.FocusItem,0); </SCRIPT> <OBJECT CLASSID="clsid:1B0CA5A8-2107-4460-BBEE-F25F8801B2F6" id="List1"></OBJECT> <SCRIPT LANGUAGE="JScript"> function Init() { List1.AllowEdit = true; List1.Columns.Add("Default"); var var_Items = List1.Items; var_Items.Add(""); } </SCRIPT> </BODY> |
227 |
How can I ensure or scroll the control so the item fits the control's client area
|
226 |
How can I remove or delete all items
|
225 |
How can I remove or delete an item
|
224 |
How can I add or insert an item
<BODY onload="Init()"> <OBJECT CLASSID="clsid:1B0CA5A8-2107-4460-BBEE-F25F8801B2F6" id="List1"></OBJECT> <SCRIPT LANGUAGE="JScript"> function Init() { List1.Columns.Add("C1"); List1.Columns.Add("C2"); var var_Items = List1.Items; var_Items.Caption(var_Items.Add("Cell 1"),1) = "Cell 2"; var h = var_Items.Add("Cell 3"); var_Items.Caption(h,1) = "Cell 4"; } </SCRIPT> </BODY> |
223 |
How can I add or insert an item
<BODY onload="Init()"> <OBJECT CLASSID="clsid:1B0CA5A8-2107-4460-BBEE-F25F8801B2F6" id="List1"></OBJECT> <SCRIPT LANGUAGE="JScript"> function Init() { List1.Columns.Add("Default"); List1.Items.Add("new item"); } </SCRIPT> </BODY> |
222 |
How can I get the columns as they are shown in the control's sortbar
|
221 |
How can I access the properties of a column
|
220 |
How can I remove all the columns
|
219 |
How can I remove a column
|
218 |
How can I get the number or the count of columns
|
217 |
How can I change the font for all cells in the entire column
<BODY onload="Init()"> <OBJECT CLASSID="clsid:1B0CA5A8-2107-4460-BBEE-F25F8801B2F6" id="List1"></OBJECT> <SCRIPT LANGUAGE="JScript"> function Init() { var f = new ActiveXObject("StdFont"); f.Name = "Tahoma"; f.Size = 12; var var_ConditionalFormat = List1.ConditionalFormats.Add("1",null); var_ConditionalFormat.Font = f; var_ConditionalFormat.ApplyTo = 0; List1.Columns.Add("Column"); List1.Items.Add(0); List1.Items.Add(1); } </SCRIPT> </BODY> |
216 |
How can I change the background color for all cells in the column
<BODY onload="Init()"> <OBJECT CLASSID="clsid:1B0CA5A8-2107-4460-BBEE-F25F8801B2F6" id="List1"></OBJECT> <SCRIPT LANGUAGE="JScript"> function Init() { var var_ConditionalFormat = List1.ConditionalFormats.Add("1",null); var_ConditionalFormat.BackColor = 255; var_ConditionalFormat.ApplyTo = 0; List1.Columns.Add("Column"); List1.Items.Add(0); List1.Items.Add(1); } </SCRIPT> </BODY> |
215 |
How can I change the foreground color for all cells in the column
<BODY onload="Init()"> <OBJECT CLASSID="clsid:1B0CA5A8-2107-4460-BBEE-F25F8801B2F6" id="List1"></OBJECT> <SCRIPT LANGUAGE="JScript"> function Init() { var var_ConditionalFormat = List1.ConditionalFormats.Add("1",null); var_ConditionalFormat.ForeColor = 255; var_ConditionalFormat.ApplyTo = 0; List1.Columns.Add("Column"); List1.Items.Add(0); List1.Items.Add(1); } </SCRIPT> </BODY> |
214 |
How can I show as strikeout all cells in the column
|
213 |
How can I underline all cells in the column
<BODY onload="Init()"> <OBJECT CLASSID="clsid:1B0CA5A8-2107-4460-BBEE-F25F8801B2F6" id="List1"></OBJECT> <SCRIPT LANGUAGE="JScript"> function Init() { var var_ConditionalFormat = List1.ConditionalFormats.Add("1",null); var_ConditionalFormat.Underline = true; var_ConditionalFormat.ApplyTo = 0; List1.Columns.Add("Column"); List1.Items.Add(0); List1.Items.Add(1); } </SCRIPT> </BODY> |
212 |
How can I show in italic all data in the column
<BODY onload="Init()"> <OBJECT CLASSID="clsid:1B0CA5A8-2107-4460-BBEE-F25F8801B2F6" id="List1"></OBJECT> <SCRIPT LANGUAGE="JScript"> function Init() { var var_ConditionalFormat = List1.ConditionalFormats.Add("1",null); var_ConditionalFormat.Italic = true; var_ConditionalFormat.ApplyTo = 0; List1.Columns.Add("Column"); List1.Items.Add(0); List1.Items.Add(1); } </SCRIPT> </BODY> |
211 |
How can I bold the entire column
<BODY onload="Init()"> <OBJECT CLASSID="clsid:1B0CA5A8-2107-4460-BBEE-F25F8801B2F6" id="List1"></OBJECT> <SCRIPT LANGUAGE="JScript"> function Init() { var var_ConditionalFormat = List1.ConditionalFormats.Add("1",null); var_ConditionalFormat.Bold = true; var_ConditionalFormat.ApplyTo = 0; List1.Columns.Add("Column"); List1.Items.Add(0); List1.Items.Add(1); } </SCRIPT> </BODY> |
210 |
How can I display a computed column and highlight some values that are negative or less than a value
<BODY onload="Init()"> <OBJECT CLASSID="clsid:1B0CA5A8-2107-4460-BBEE-F25F8801B2F6" id="List1"></OBJECT> <SCRIPT LANGUAGE="JScript"> function Init() { List1.Columns.Add("A"); List1.Columns.Add("B"); List1.Columns.Add("(A+B)*1.19").ComputedField = "(%0 + %1) * 1.19"; var var_Items = List1.Items; var_Items.Caption(var_Items.Add(1),1) = 2; var var_Items1 = List1.Items; var_Items1.Caption(var_Items1.Add(10),1) = 20; var var_ConditionalFormat = List1.ConditionalFormats.Add("%2 > 10",null); var_ConditionalFormat.Bold = true; var_ConditionalFormat.ForeColor = 255; var_ConditionalFormat.ApplyTo = 2; } </SCRIPT> </BODY> |
209 |
Can I display a computed column so it displays the VAT, or SUM
|
208 |
How can I show a column that adds values in the cells
|
207 |
Is there any function to filter the control's data as I type, so the items being displayed include the typed characters
<BODY onload="Init()"> <OBJECT CLASSID="clsid:1B0CA5A8-2107-4460-BBEE-F25F8801B2F6" id="List1"></OBJECT> <SCRIPT LANGUAGE="JScript"> function Init() { var var_Column = List1.Columns.Add("Filter"); var_Column.FilterOnType = true; var_Column.DisplayFilterButton = true; var_Column.AutoSearch = 1; List1.Items.Add("Canada"); List1.Items.Add("USA"); } </SCRIPT> </BODY> |
206 |
Is there any function to filter the control's data as I type, something like filter on type
|
205 |
How can I programmatically filter a column
<BODY onload="Init()"> <OBJECT CLASSID="clsid:1B0CA5A8-2107-4460-BBEE-F25F8801B2F6" id="List1"></OBJECT> <SCRIPT LANGUAGE="JScript"> function Init() { var var_Column = List1.Columns.Add("Filter"); var_Column.DisplayFilterButton = true; var_Column.FilterType = 2; List1.Items.Add(null); List1.Items.Add("not empty"); List1.ApplyFilter(); } </SCRIPT> </BODY> |
204 |
How can I show or display the control's filter
|
203 |
How can I customize the items being displayed in the drop down filter window
<BODY onload="Init()"> <OBJECT CLASSID="clsid:1B0CA5A8-2107-4460-BBEE-F25F8801B2F6" id="List1"></OBJECT> <SCRIPT LANGUAGE="JScript"> function Init() { var var_Column = List1.Columns.Add("Custom Filter"); var_Column.DisplayFilterButton = true; var_Column.DisplayFilterPattern = false; var_Column.CustomFilter = "Excel Spreadsheets (*.xls )||*.xls|||Word Documents||*.doc|||Powerpoint Presentations||*.pps|||Text Documents (*.log,*.txt)||*." + "txt|*.log"; var_Column.FilterType = 3; var_Column.Filter = "*.xls"; List1.Items.Add("excel.xls"); List1.Items.Add("word.doc"); List1.Items.Add("pp.pps"); List1.Items.Add("text.txt"); List1.ApplyFilter(); } </SCRIPT> </BODY> |
202 |
How can I change the order or the position of the columns in the sort bar
<BODY onload="Init()"> <OBJECT CLASSID="clsid:1B0CA5A8-2107-4460-BBEE-F25F8801B2F6" id="List1"></OBJECT> <SCRIPT LANGUAGE="JScript"> function Init() { List1.SortBarVisible = true; List1.SortBarColumnWidth = 48; List1.Columns.Add("C1").SortOrder = 1; List1.Columns.Add("C2").SortOrder = 2; List1.Columns.Item("C2").SortPosition = 0; } </SCRIPT> </BODY> |
201 |
How do I arrange my columns on multiple levels
<BODY onload="Init()"> <OBJECT CLASSID="clsid:1B0CA5A8-2107-4460-BBEE-F25F8801B2F6" id="List1"></OBJECT> <SCRIPT LANGUAGE="JScript"> function Init() { List1.Columns.Add("S").Width = 32; List1.Columns.Add("Level 2").LevelKey = 1; List1.Columns.Add("Level 3").LevelKey = 1; List1.Columns.Add("Level 4").LevelKey = 1; List1.Columns.Add("Level 1").LevelKey = "2"; List1.Columns.Add("Level 2").LevelKey = "2"; List1.Columns.Add("Level 3").LevelKey = "2"; List1.Columns.Add("Level 4").LevelKey = "2"; List1.Columns.Add("E").Width = 32; } </SCRIPT> </BODY> |